'use client'
import Link from "next/link"
import { useState } from "react"
export default function LengLayout({
    children
}:{
    children:React.ReactNode
}){
    const [value,setValue] = useState('')   
    return (
        <div>
            <input type="text" value={value} onChange={(e)=>setValue(e.target.value)}/>
            <Link href={`/leng/data1`}>提交</Link>
            {children}
        </div>
    )
}